Swap fields 3 and 4 in ozi route writer.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 3 Jun 2013 01:45:58 +0000 (01:45 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 3 Jun 2013 01:45:58 +0000 (01:45 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4388 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/ozi.cc

index eddda268c595853a88461d90a5454927b8c68a92..e433f03b64c2f4792928b97602332b4acdfcc706 100644 (file)
@@ -373,7 +373,7 @@ ozi_route_disp(const waypoint * waypointp)
    * W,1,7,7,007,-25.581670,-48.316660,36564.54196,10,1,4,0,65535,TR ILHA GALHETA,0,0
    */
 
-  gbfprintf(file_out, "W,%d,%d,,%s,%.6f,%.6f,%s,0,1,3,0,65535,%s,0,0\r\n",
+  gbfprintf(file_out, "W,%d,,%d,%s,%.6f,%.6f,%s,0,1,3,0,65535,%s,0,0\r\n",
             route_out_count,
             route_wpt_count,
             waypointp->shortname ? waypointp->shortname : "",